package com.nuoniu.sibanyun.entity.dto;

import com.baomidou.mybatisplus.annotation.TableField;
import com.nuoniu.sibanyun.common.BaseEntity;
import com.nuoniu.sibanyun.entity.SysDictData;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;


/**
 * @ClassName DictTypeSaveDto
 * @Description TODO
 * @Authpr baiqiang
 * @Date 2020/5/25 17:16
 **/
@Data
public class DictTypeSaveDto  extends BaseEntity {

    @ApiModelProperty(value = "字典名称")
    private String dictName;

    @ApiModelProperty(value = "字典编码")
    private String dictCode;

    @ApiModelProperty(value = "字典类型")
    private Integer dictType;

    @ApiModelProperty(value = "模块类型")
    private String moduleType;

    @ApiModelProperty(value = "是否系统字典")
    private Boolean isSys;

    @ApiModelProperty(value = "是否修改")
    private Boolean isUpdate;

    @ApiModelProperty(value = "状态（0正常 1删除 2停用）")
    private Integer status;

    @ApiModelProperty(value = "备注信息")
    private String remarks;

    @ApiModelProperty(value = "字典数据列表")
    @TableField(exist = false)
    private List<DictDataSaveDto> dictDatas;
}
